import { Injectable, HttpException } from '@nestjs/common';

@Injectable()
export class AppService {
  getHello(): string {
    return 'Hello World!';
  }
  getList() {
    throw new HttpException('获取列表失败', 401);
  }
}
